<?php namespace App\Http\Controllers\Admin;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\View;

use Illuminate\Http\Request;

class BaseController extends Controller {

	public function view($view , $data = array() , $mergerData = array()){
		return View::make('admin.'.$view,$data,$mergerData);
	}


	public function redirect($route,$parameters = array(),$status=302,$headers = array()){
		return Redirect::route('admin.'.$route,$parameters,$status,$headers);
	}


}
